package com.gpframework.module.wages.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import javax.validation.constraints.*;

import java.util.Date;
import java.math.BigDecimal;

/**
 * @ClassName GzMonthlyLeaveAdd
 * @Author gpframework
 * @Date 2024-01-18
 * @Version 1.0.0
 * @Description 月度休假Add对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GzMonthlyLeaveAdd {
    private static final long serialVersionUID = 1L;

    /** 月份 */
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    @ApiModelProperty("月份")
    private Date month;

    /** 员工name */
    @ApiModelProperty("员工name")
    private String userName;

    /** 员工id */
    @ApiModelProperty("员工id")
    private Long userId;

    /** 档口 */
    @ApiModelProperty("档口")
    private String gearopening;

    /** 月度天数 */
    @ApiModelProperty("月度天数")
    private Double monthlyDays;

    /** 应出勤天数 */
    @ApiModelProperty("应出勤天数")
    private Double requireDateNdancedays;

    /** 休息天数 */
    @ApiModelProperty("休息天数")
    private Long restDays;

    /** 排序 */
    @ApiModelProperty("排序")
    private Long sort;

    /** 备注 */
    @ApiModelProperty("备注")
    private String remarks;

    /** 部门 */
    @ApiModelProperty("部门")
    private String departmentName;

}
